﻿@model DMS.BO.Models.LoginModel
@{
    Layout = null;
}
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <!-- Apple devices fullscreen -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- Apple devices fullscreen -->
    <meta names="apple-mobile-web-app-status-bar-style" content="black-translucent" />

    <title>VDMS - Đăng nhập</title>

    <!-- Bootstrap -->
    <link rel="stylesheet" href="/content/css/bootstrap.min.css">
    <!-- Bootstrap responsive -->
    <link rel="stylesheet" href="/content/css/bootstrap-responsive.min.css">
    <!-- icheck -->
    <link rel="stylesheet" href="/content/css/plugins/icheck/all.css">
    <!-- Theme CSS -->
    <link rel="stylesheet" href="/content/css/style.css">
    <!-- Color CSS -->
    <link rel="stylesheet" href="/content/css/themes.css">


    <!-- jQuery -->
    <script src="/content/js/jquery.min.js"></script>

    <!-- Nice Scroll -->
    <script src="/content/js/plugins/nicescroll/jquery.nicescroll.min.js"></script>
    <!-- Validation -->
    <script src="/content/js/plugins/validation/jquery.validate.min.js"></script>
    <script src="/content/js/plugins/validation/additional-methods.min.js"></script>
    <!-- icheck -->
    <script src="/content/js/plugins/icheck/jquery.icheck.min.js"></script>
    <!-- Bootstrap -->
    <script src="/content/js/bootstrap.min.js"></script>
    <script src="/content/js/eakroko.js"></script>

    <!--[if lte IE 9]>
		<script src="/content/js/plugins/placeholder/jquery.placeholder.min.js"></script>
		<script>
			$(document).ready(function() {
				$('input, textarea').placeholder();
			});
		</script>
	<![endif]-->


    <!-- Favicon -->
    <link rel="shortcut icon" href="/content/img/favicon.ico" />
    <!-- Apple devices Homescreen icon -->
    <link rel="apple-touch-icon-precomposed" href="/content/img/apple-touch-icon-precomposed.png" />

</head>

<body class='login'>
    <div class="wrapper">
        <h1><a href="#">
            <img src="/content/img/logo-big.png" alt="" class='retina-ready' width="59" height="49">VDMS</a></h1>
        <div class="login-body">
            <h2>ĐĂNG NHẬP</h2>
            @using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-validate" }))
            {
                <div class="control-group">
                    <div class="email controls">
                        <input type="text" name='UserName' placeholder="Tên đăng nhập" class='input-block-level' data-rule-required="true" data-rule-email="true">
                    </div>
                </div>
                <div class="control-group">
                    <div class="pw controls">
                        <input type="password" name="Password" placeholder="Mật khẩu" class='input-block-level' data-rule-required="true">
                    </div>
                </div>
                <div class="submit">
                    <div class="remember">
                    </div>
                    <input type="submit" value="Đăng nhập" class='btn btn-primary'>
                </div>
                if (@ViewBag.Error != null)
                {
                      <br/>
                        <div class="alert alert-error">
                            @ViewBag.Error
                        </div>
                }

            }
            <div class="forget">
                <a href="#"><span>Quên mật khẩu?</span></a>
            </div>
        </div>
    </div>
</body>

</html>
